package ru.urfc.portal.model.radio;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.xml.bind.annotation.XmlRootElement;

import ru.urfc.portal.model.catalogs.DeviceState;
import ru.urfc.portal.model.catalogs.DeviceType;
import ru.urfc.portal.ui.client.Constants;

@Table(name = "portal_devices")
@Entity
@XmlRootElement(name = Constants.DEVICE)
public class Device extends BaseDevice {
	
	public Device() {
		super();
	}

	public Device(NetWithLicense net, DeviceType type, String number,
			int nChannels, int watts, DeviceState state, String city,
			String address, String telegraphCallsign,
			String telegraphCallsignNumber, String telephoneCallsign,
			String telephoneCallsignNumber) {
		super(net, type, number, nChannels, watts, state, city, address,
				telegraphCallsign, telegraphCallsignNumber, telephoneCallsign,
				telephoneCallsignNumber);
	}

}
